package com.tzbank.wisdom.controller;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tzbank.wisdom.service.TzbCardRegisterService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = {"本行卡操作控制"})
@RestController
@RequestMapping("tzbCardReg")
public class TzbCardRegisterController {
	@Resource
	private TzbCardRegisterService tzbCardRegisterService;

    @ApiOperation(value = "本行卡注册", notes = "本行卡注册接口")
	@PostMapping("doReg")
	public Map<String,Object> otherCardReg(@RequestBody Map<String,String> body){
		return tzbCardRegisterService.tzbCardReg(body);
	}
}
